import Layout from '@/views/layout/Layout'

const activity = {
  path: '/orderManagement',
  component: Layout,
  name: 'orderManagement',
  alwaysShow: true,
  meta: { title: 'orderManagement', icon: 'orderManagement' },
  children: [
    {
      path: 'depositOrder', // 定金订单
      component: () => import('@/views/pre-sale/orderManagement/depositOrder/index'),
      name: 'depositOrder',
      meta: { title: 'depositOrder' }
    },
    {
      path: 'deatailDepositOrder', // 定金信息
      component: () => import('@/views/pre-sale/orderManagement/depositOrder/detail'),
      hidden: true,
      name: 'deatailDepositOrder',
      meta: { title: 'deatailDepositOrder' }
    },
    {
      path: 'replacementOrder', // 置换订单
      component: () => import('@/views/pre-sale/orderManagement/replacementOrder/index'),
      name: 'replacementOrder',
      meta: { title: 'replacementOrder' }
    },
    {
      path: 'deatailReplacementOrder', // 置换信息
      component: () => import('@/views/pre-sale/orderManagement/replacementOrder/detail'),
      hidden: true,
      name: 'deatailReplacementOrder',
      meta: { title: 'deatailReplacementOrder' }
    },
    {
      path: 'newCarOrder', // 新车订单
      component: () => import('@/views/pre-sale/orderManagement/newCarOrder/index'),
      name: 'newCarOrder',
      meta: { title: 'newCarOrder' }
    },
    {
      path: 'carDeatail', // 新车订单详情
      component: () => import('@/views/pre-sale/orderManagement/newCarOrder/carDeatail'),
      name: 'carDeatail',
      hidden: true,
      meta: { title: 'carDeatail' }
    },
    {
      path: 'salesList', // 历史销售清单
      component: () => import('@/views/pre-sale/orderManagement/newCarOrder/salesList'),
      name: 'salesList',
      hidden: true,
      meta: { title: 'salesList' }
    },
    {
      path: 'financialOrder', //  金融订单
      component: () => import('@/views/pre-sale/orderManagement/financialOrder/index'),
      name: 'financialOrder',
      meta: { title: 'financialOrder' }
    },
    {
      path: 'insuranceTheOrder', // 保险订单
      component: () => import('@/views/pre-sale/orderManagement/insuranceTheOrder/index'),
      name: 'insuranceTheOrder',
      meta: { title: 'insuranceTheOrder' }
    },
    {
      path: 'boutiqueOrder', // 精品订单
      component: () => import('@/views/pre-sale/orderManagement/boutiqueOrder/index'),
      name: 'boutiqueOrder',
      meta: { title: 'boutiqueOrder' }
    },
    {
      path: 'addBoutiqueOrder/:id', // 精品订单新增编辑
      hidden: true,
      props: true,
      component: () => import('@/views/pre-sale/orderManagement/boutiqueOrder/addAndEdit'),
      name: 'addBoutiqueOrder',
      meta: { title: 'addBoutiqueOrder' }
    }
  ]
}

export default activity
